package cn.kpi.common.Excel.export.service;

import cn.kpi.common.Excel.domain.SubheadModel;
import cn.kpi.common.Excel.export.domain.common.ExportCell;
import cn.kpi.common.Excel.export.exception.FileExportException;

import java.util.List;

/**
 * Create by liuyong on 2017/11/3
 */
public interface IFileExportor {
    /**
     * 数据导出
     * @param data
     * @param exportCells
     * @return
     * @throws
     */
    public Object getExportResult(List<?> data, List<ExportCell> exportCells, SubheadModel subheadingVo) throws FileExportException;
}
